from django.urls import path
from . import views

urlpatterns = [
    path('', views.CardListView.as_view(), name='card-list'),
    path('<int:pk>/', views.CardDetailView.as_view(), name='card-detail'),
    path('owned/', views.UserCardListView.as_view(), name='user-card-list'),
    path('buy/', views.buy_card, name='buy-card'),
]
